package org.sgx.gapi.client.apis.tasks.tasks;

import com.google.gwt.core.client.JavaScriptObject;

public class TaskLink extends JavaScriptObject {
	protected TaskLink() {
	}

	/**
	 * Type of the link, e.g. "email".
	 * 
	 * @return
	 */
	public native final String type() /*-{
		return this["type"];
	}-*/;

	/**
	 * Type of the link, e.g. "email".
	 * 
	 * @param val
	 * @return this - for setter chaining
	 */
	public native final TaskLink type(String val) /*-{
		this["type"] = val;
		return this;
	}-*/;

	/**
	 * The description. In HTML speak: Everything between <a> and </a>.
	 * 
	 * @return
	 */
	public native final String description() /*-{
		return this["description"];
	}-*/;

	/**
	 * The description. In HTML speak: Everything between <a> and </a>.
	 * 
	 * @param val
	 * @return this - for setter chaining
	 */
	public native final TaskLink description(String val) /*-{
		this["description"] = val;
		return this;
	}-*/;

	/**
	 * The URL.
	 * 
	 * @return
	 */
	public native final String link() /*-{
		return this["link"];
	}-*/;

	/**
	 * The URL.
	 * 
	 * @param val
	 * @return this - for setter chaining
	 */
	public native final TaskLink link(String val) /*-{
		this["link"] = val;
		return this;
	}-*/;
}
